<!DOCTYPE html>
<html>
<head>
<?php include(__DIR__ . '/../Public/header.php'); ?>
<style type="text/css"></style>
</head>
<body class="skin-black">
<?php include(__DIR__ . '/../Public/nav.php'); ?>
<div class="wrapper">
	<div class="content">
	  	<div class="row">
	        <div class="col-md-4 col-md-offset-4">
				<section class="panel">
					<header class="panel-heading"><?=L('login',1)?></header>
					<div class="panel-body">
						<form role="form" class="login-form" data-action='<?=url('member/login')?>' onsubmit="return false;">
							<div class="form-group">
								<label for="nickEmail"><?=L('email',2)?></label>
								<input type="email" class="form-control" name='info[email]' id="nickEmail" data-rule-required="true" data-rule-email="true" placeholder="<?=L('email',2)?>">
							</div>
							<div class="form-group">
								<label for="pwdInput"><?=L('password',2)?></label>
								<input type="password" class="form-control"  name='info[pwd]' id="pwdInput" data-rule-required="true" data-rule-minlength="6" placeholder="<?=L('password',2)?>">
							</div>
							<button type="submit" class="btn btn-info" ><?=L('login',1)?></button>
						</form>
					</div>
				</section>
			</div>
		</div>
	</div>
</div><!-- ./wrapper -->
<div aria-hidden="true" role="dialog" tabindex="-1" id="Auth" class="modal fade">
    <div class="modal-dialog" >
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title"><?=L('auth',1)?></h4>
            </div>
            <form class="login-auth" role="form" data-action='<?=url('member/auth')?>' onsubmit="return false;">
            <div class="modal-body">
                <div class="form-group googleInput">
                    <label><?=L('google_code',2)?></label>
                    <input type="text" class="form-control" name='info[google_code]' id='googleCodeInput' data-rule-required="true" data-rule-number="6" placeholder="<?=L('google_code',2)?>">
                </div>
                <div class="form-group emailInput">
                    <label><?=L('email_code',2)?></label>
                    <input type="text" class="form-control" name='info[email_code]' id='emailCodeInput' data-rule-required="true" data-rule-rangelength="[8,8]" placeholder="<?=L('email_code',2)?>">
                </div>
            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-danger" ><?=L('ok',2)?></button>
            </div>
            </form>
        </div>
    </div>
</div>
<?php include(__DIR__ . '/../Public/footer.php'); ?>
</body>
</html>